<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
include_once dirname(__FILE__) . "/../../AdapaySdk/init.php";
include_once dirname(__FILE__) . "/../config.php";
$payment = new AdaPaySdk\PaymentReverse();
$payment_params = ["payment_id" => "002112020102614582910166695202499047424", "app_id" => "app_7d87c043-aae3-4357-9b2c-269349a980d6", "order_no" => "R" . date("YmdHis") . rand(100000, 999999), "reverse_amt" => "0.01", "notify_url" => "", "reason" => "订单支金额错误", "expand" => "", "device_info" => ""];
$payment->create($payment_params);
if($payment->isError()) {
    var_dump($payment->result);
} else {
    var_dump($payment->result);
}

?>